home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / libx11 / include / x11 / xmu / stdcmap.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  3KB  |  99 lines

  1. /* $XConsortium: StdCmap.h,v 1.3 91/07/22 23:46:03 converse Exp $
  2.  *
  3.  * Copyright 1988 by the Massachusetts Institute of Technology
  4.  *
  5.  * Permission to use, copy, modify, and distribute this software and its
  6.  * documentation for any purpose and without fee is hereby granted, provided 
  7.  * that the above copyright notice appear in all copies and that both that 
  8.  * copyright notice and this permission notice appear in supporting 
  9.  * documentation, and that the name of M.I.T. not be used in advertising
  10.  * or publicity pertaining to distribution of the software without specific, 
  11.  * written prior permission. M.I.T. makes no representations about the 
  12.  * suitability of this software for any purpose.  It is provided "as is"
  13.  * without express or implied warranty.
  14.  *
  15.  * The X Window System is a Trademark of MIT.
  16.  *
  17.  * The interfaces described by this header file are for miscellaneous utilities
  18.  * and are not part of the Xlib standard.
  19.  */
  20.  
  21. #ifndef _XMU_STDCMAP_H_
  22. #define _XMU_STDCMAP_H_
  23.  
  24. #include <X11/Xfuncproto.h>
  25.  
  26. _XFUNCPROTOBEGIN
  27.  
  28. Status XmuAllStandardColormaps(
  29. #if NeedFunctionPrototypes
  30.     Display*        /* dpy */
  31. #endif
  32. );
  33.  
  34. Status XmuCreateColormap(
  35. #if NeedFunctionPrototypes
  36.     Display*        /* dpy */,
  37.     XStandardColormap*    /* colormap */
  38. #endif
  39. );
  40.  
  41. void   XmuDeleteStandardColormap(
  42. #if NeedFunctionPrototypes
  43.     Display*        /* dpy */,
  44.     int            /* screen */,
  45.     Atom        /* property */
  46. #endif
  47. );
  48.  
  49. Status XmuGetColormapAllocation(
  50. #if NeedFunctionPrototypes
  51.     XVisualInfo*    /* vinfo */,
  52.     Atom        /* property */,
  53.     unsigned long*    /* red_max_return */,
  54.     unsigned long*    /* green_max_return */,
  55.     unsigned long*    /* blue_max_return */
  56. #endif
  57. );
  58.  
  59. Status XmuLookupStandardColormap(
  60. #if NeedFunctionPrototypes
  61.     Display*        /* dpy */,
  62.     int            /* screen */,
  63.     VisualID        /* visualid */,
  64.     unsigned int    /* depth */,
  65.     Atom        /* property */,
  66.     Bool        /* replace */,
  67.     Bool        /* retain */
  68. #endif
  69. );
  70.  
  71. XStandardColormap *XmuStandardColormap(
  72. #if NeedFunctionPrototypes
  73.     Display*        /* dpy */,
  74.     int            /* screen */,
  75.     VisualID        /* visualid */,
  76.     unsigned int    /* depth */,
  77.     Atom        /* property */,
  78.     Colormap        /* cmap */,
  79.     unsigned long    /* red_max */,
  80.     unsigned long    /* green_max */,
  81.     unsigned long    /* blue_max */
  82. #endif
  83. );
  84.  
  85. Status XmuVisualStandardColormaps(
  86. #if NeedFunctionPrototypes
  87.     Display*        /* dpy */,
  88.     int            /* screen */,
  89.     VisualID        /* visualid */,
  90.     unsigned int    /* depth */,
  91.     Bool        /* replace */,
  92.     Bool        /* retain */
  93. #endif
  94. );
  95.  
  96. _XFUNCPROTOEND
  97.  
  98. #endif /* _XMU_STDCMAP_H_ */
  99.